
useradd thunder

tar xf Xware_x86_32_glibc.tar.gz

sudo mkdir -p /home/thunder/Xware

sudo mkdir -p /home/thunder/Xware/lib

cp EmbedThunderManager /home/thunder/Xware/lib/

cp ETMDaemon /home/thunder/Xware/lib/

cp portal /home/thunder/Xware/

sudo chown -R thunder:thunder /home/thunder/Xware

sudo chmod +x thunder
sudo cp -f thunder /etc/init.d/

sudo chown root:root /etc/init.d/thunder
sudo chown 755 /etc/init.d/thunder

sudo update-rc.d thunder defaults 91 09

sudo mkdir -p /home/thunder/Downloads

sudo chown thunder:thunder /home/thunder/Downloads

sudo chmod 775 /home/thunder/Downloads

sudo mkdir -p /media/thunder


service thunder start




